﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyEvent1.ascx.cs" Inherits="EARS.MyEvent1" %>
<asp:Panel ID="Panel1" runat="server" style="text-align: left">
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
    <br />
    <br />
    <asp:Label ID="EventName" runat="server" Text="Event Name:"></asp:Label>
    <asp:Label ID="lblEventName" runat="server"></asp:Label>
    &nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Venue" runat="server" Text="Venue:"></asp:Label>
    <asp:Label ID="lblVenue" runat="server"></asp:Label>
    <br />
    <br />
    <asp:Label ID="EventStartDateTime" runat="server" Text="Event Start Date:"></asp:Label>
    <asp:Label ID="lblStartDate" runat="server"></asp:Label>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="EventEndDateTime" runat="server" Text="Event End Date:"></asp:Label>
    <asp:Label ID="lblEndDate" runat="server"></asp:Label>
    <br />
    <br />
    <asp:Label ID="EventStartTime" runat="server" Text="Event Start Time:"></asp:Label>
    <asp:Label ID="lblStartTime" runat="server"></asp:Label>
    &nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="EventEndTime" runat="server" Text="Event End Time:"></asp:Label>
    <asp:Label ID="lblEndTime" runat="server"></asp:Label>
    <br />
    <br />
    <asp:Label ID="Deadline" runat="server" Text="Deadline for Registration:"></asp:Label>
    <asp:Label ID="lblDeadLine" runat="server"></asp:Label>
    <br />
    <br />
    <asp:Label ID="Info" runat="server" Text="Info:"></asp:Label>
    <asp:Label ID="lblDescription" runat="server"></asp:Label>
    <br />
    <br />
    <asp:Label ID="Number" runat="server" 
        Text="Number of people currently registered:"></asp:Label>
    <asp:Label ID="lblNumber" runat="server"></asp:Label>
    <br />
    &nbsp;<div style="text-align: right; font-style: italic;">
        <asp:Button ID="btnUnregister" runat="server" Text="Unregister" Class="button" 
            onclick="btnUnregister_Click"/>
        <asp:Button ID="btnDetails" runat="server" Text="More Details..." 
            Class="button" onclick="btnDetails_Click"/>
        &nbsp; &nbsp;&nbsp;&nbsp;</div>
    <br />
    <asp:Panel ID="ModalPanel" runat="server" Width="500px" BackColor="#E7E3CE" BorderColor="#573D26"
        BorderWidth="3px">
        <div style="text-align: center">
            <asp:Label ID="lblPopUp" runat="server"></asp:Label>
        </div>
        <br />
        <div style="text-align: center">
            <asp:Button ID="btnConfirm" runat="server" Text="Confirm" Class="button" 
                onclick="btnConfirm_Click" />
            <asp:Button ID="btnCancel" runat="server" Text="Cancel" Class="button" 
                CausesValidation="False" onclick="btnCancel_Click" />
            <asp:Button ID="btnClose" runat="server" Text="Close" Class="button" 
                onclick="btnClose_Click" />
        </div>
    </asp:Panel>
    <asp:ModalPopupExtender ID="mpe" runat="server" TargetControlID="button" PopupControlID="ModalPanel"
        BackgroundCssClass="modalBackground" />
    <asp:Button ID="button" runat="server" Text="Button" Class="hidden"/>
</asp:Panel>



